package homework15;

public class warrior extends figure {
    public warrior(int blood_Volume, int magic, int velocity, double critical_Strike_Chance, double attack_speed, int grade) {
        super(blood_Volume, magic, velocity, critical_Strike_Chance, attack_speed, grade);
    }
    //继承figure并重写方法
    public void upMagic(int magic) {
       System.err.println("战士没有蓝条");
    }
    public warrior() {
        super();
    }
}
